package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 招商配置——行业类型——新增子类
 * </p>
 *
 * @author yjl
 * @since 2022-10-15 10:58:56
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_business_type_child")
@ApiModel(value = "BusinessTypeChild对象", description = "招商配置——行业类型——新增子类")
public class BusinessTypeChild implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value ="小类主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value ="小类代码")
    @TableField("child_coding")
    private String childCoding;

    @ApiModelProperty(value ="小类名称")
    @TableField("child_name")
    private String childName;

    @ApiModelProperty(value ="备注")
    @TableField("child_remark")
    private String childRemark;

    @ApiModelProperty(value ="逻辑删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value ="父类的代码")
    @TableField("business_type_coding")
    private Integer businessTypeCoding;
}
